Optimal. Leaf size=55 \[ -\frac {\cot (a+b x)}{b}-\frac {\cot ^3(a+b x)}{b}-\frac {3 \cot ^5(a+b x)}{5 b}-\frac {\cot ^7(a+b x)}{7 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3852}
\begin {gather*} -\frac {\cot ^7(a+b x)}{7 b}-\frac {3 \cot ^5(a+b x)}{5 b}-\frac {\cot ^3(a+b x)}{b}-\frac {\cot (a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3852
Rubi steps
\begin {align*} \int \csc ^8(a+b x) \, dx &=-\frac {\text {Subst}\left (\int \left (1+3 x^2+3 x^4+x^6\right ) \, dx,x,\cot (a+b x)\right )}{b}\\ &=-\frac {\cot (a+b x)}{b}-\frac {\cot ^3(a+b x)}{b}-\frac {3 \cot ^5(a+b x)}{5 b}-\frac {\cot ^7(a+b x)}{7 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 77, normalized size = 1.40 \begin {gather*} -\frac {16 \cot (a+b x)}{35 b}-\frac {8 \cot (a+b x) \csc ^2(a+b x)}{35 b}-\frac {6 \cot (a+b x) \csc ^4(a+b x)}{35 b}-\frac {\cot (a+b x) \csc ^6(a+b x)}{7 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 43, normalized size = 0.78
method | result | size |
derivativedivides | \(\frac {\left (-\frac {16}{35}-\frac {\left (\csc ^{6}\left (x b +a \right )\right )}{7}-\frac {6 \left (\csc ^{4}\left (x b +a \right )\right )}{35}-\frac {8 \left (\csc ^{2}\left (x b +a \right )\right )}{35}\right ) \cot \left (x b +a \right )}{b}\) | \(43\) |
default | \(\frac {\left (-\frac {16}{35}-\frac {\left (\csc ^{6}\left (x b +a \right )\right )}{7}-\frac {6 \left (\csc ^{4}\left (x b +a \right )\right )}{35}-\frac {8 \left (\csc ^{2}\left (x b +a \right )\right )}{35}\right ) \cot \left (x b +a \right )}{b}\) | \(43\) |
risch | \(\frac {32 i \left (35 \,{\mathrm e}^{6 i \left (x b +a \right )}-21 \,{\mathrm e}^{4 i \left (x b +a \right )}+7 \,{\mathrm e}^{2 i \left (x b +a \right )}-1\right )}{35 b \left ({\mathrm e}^{2 i \left (x b +a \right )}-1\right )^{7}}\) | \(55\) |
norman | \(\frac {-\frac {1}{896 b}-\frac {7 \left (\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )\right )}{640 b}-\frac {7 \left (\tan ^{4}\left (\frac {a}{2}+\frac {x b}{2}\right )\right )}{128 b}-\frac {35 \left (\tan ^{6}\left (\frac {a}{2}+\frac {x b}{2}\right )\right )}{128 b}+\frac {35 \left (\tan ^{8}\left (\frac {a}{2}+\frac {x b}{2}\right )\right )}{128 b}+\frac {7 \left (\tan ^{10}\left (\frac {a}{2}+\frac {x b}{2}\right )\right )}{128 b}+\frac {7 \left (\tan ^{12}\left (\frac {a}{2}+\frac {x b}{2}\right )\right )}{640 b}+\frac {\tan ^{14}\left (\frac {a}{2}+\frac {x b}{2}\right )}{896 b}}{\tan \left (\frac {a}{2}+\frac {x b}{2}\right )^{7}}\) | \(131\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 45, normalized size = 0.82 \begin {gather*} -\frac {35 \, \tan \left (b x + a\right )^{6} + 35 \, \tan \left (b x + a\right )^{4} + 21 \, \tan \left (b x + a\right )^{2} + 5}{35 \, b \tan \left (b x + a\right )^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.18, size = 87, normalized size = 1.58 \begin {gather*} -\frac {16 \, \cos \left (b x + a\right )^{7} - 56 \, \cos \left (b x + a\right )^{5} + 70 \, \cos \left (b x + a\right )^{3} - 35 \, \cos \left (b x + a\right )}{35 \, {\left (b \cos \left (b x + a\right )^{6} - 3 \, b \cos \left (b x + a\right )^{4} + 3 \, b \cos \left (b x + a\right )^{2} - b\right )} \sin \left (b x + a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \csc ^{8}{\left (a + b x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 45, normalized size = 0.82 \begin {gather*} -\frac {35 \, \tan \left (b x + a\right )^{6} + 35 \, \tan \left (b x + a\right )^{4} + 21 \, \tan \left (b x + a\right )^{2} + 5}{35 \, b \tan \left (b x + a\right )^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.13, size = 41, normalized size = 0.75 \begin {gather*} -\frac {{\mathrm {tan}\left (a+b\,x\right )}^6+{\mathrm {tan}\left (a+b\,x\right )}^4+\frac {3\,{\mathrm {tan}\left (a+b\,x\right )}^2}{5}+\frac {1}{7}}{b\,{\mathrm {tan}\left (a+b\,x\right )}^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________